package p270jp.pxv.android.model;

import java.io.Serializable;
import p056bp.LocalDate;
import p115dp.DateTimeFormatter;

/* compiled from: SearchDurationSetting.kt */
/* renamed from: jp.pxv.android.model.SearchDurationSetting */
/* loaded from: classes2.dex */
public final class SearchDurationSetting implements Serializable {
    public static final int $stable = 8;
    private final LocalDate endDate;
    private final LocalDate startDate;

    public SearchDurationSetting(LocalDate gVar, LocalDate gVar2) {
        this.startDate = gVar;
        this.endDate = gVar2;
    }

    public final String convertEndDateToRequestParameter() {
        LocalDate gVar = this.endDate;
        if (gVar == null) {
            return null;
        }
        return gVar.m10107G(DateTimeFormatter.f12354i);
    }

    public final String convertStartDateToRequestParameter() {
        LocalDate gVar = this.startDate;
        if (gVar == null) {
            return null;
        }
        return gVar.m10107G(DateTimeFormatter.f12354i);
    }

    public final LocalDate getEndDate() {
        return this.endDate;
    }

    public final LocalDate getStartDate() {
        return this.startDate;
    }
}
